import React, { FC } from 'react';
import { withRouter } from 'react-router-dom' // 帮助你实现路由参数传递

const Header = (props) => {

}

const UserInfoComponent: FC = (props) => {
  console.log('props:....:', props)
  return <div>UserInfo组件</div>
}

export const UserInfo = withRouter(UserInfoComponent)
